<!doctype html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <link rel="stylesheet" href="../dist/css/bootstrap.min.css">
  <link rel="stylesheet" href="../dist/bootstrap-icons.css">
  <title>导航栏</title>
</head>
<body>

  <nav class="navbar navbar-expand-md navbar-light bg-light">
    <div class="container-fluid">
      <a class="navbar-brand" href="javascript:void(0);">
        <img src="logo.jpg" class="rounded-circle" style="height:3rem;">
        Blog
      </a>
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navContent">
        <ul class="navbar-nav me-auto">
          <li class="nav-item">
            <a class="nav-link" href="javascript:void(0);">首页</a>
          </li>
          <li class="nav-item">
            <a class="nav-link active" href="javascript:void(0);">作品</a>
          </li>
          <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="javascript:void(0);" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
              日志
            </a>
            <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
              <li><a class="dropdown-item" href="javascript:void(0);">前端技术</a></li>
              <li><a class="dropdown-item" href="javascript:void(0);">工具箱</a></li>
              <li><hr class="dropdown-divider"></li>
              <li><a class="dropdown-item" href="javascript:void(0);">生活点滴</a></li>
            </ul>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="javascript:void(0);">关于</a>
          </li>
        </ul>
        <form class="d-flex">
          <input class="form-control me-2" type="search" placeholder="" aria-label="Search">
          <button class="btn btn-outline-primary text-nowrap" type="submit">搜索</button>
        </form>
      </div>
    </div>
  </nav>

  <script src="../dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>